package com.hexinfo.dmpro.script.config.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;

import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

/**
 * jdbc配置表
 *
 * @author zl
 * @date 2024-02-05 10:07:09
 */
@Data
@Validated
@TableName("TD_CONFIG_PROPERTY_JDBCCONFIG")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "jdbc配置表")
public class ConfigPropertyJdbcconfig extends Model<ConfigPropertyJdbcconfig> {
private static final long serialVersionUID = 1L;

    /**
     * JDBC-configID
     */
    @TableId(type= IdType.ASSIGN_UUID)
    @ApiModelProperty(value="JDBC-configID")
    private String id;
    /**
     * 集群id
     */
    @ApiModelProperty(value="集群id")
    private String clusterId;
    /**
     * 根据name选择对应的jdbc
     */
    @ApiModelProperty(value="根据name选择对应的jdbc")
    private String jdbcName;
    /**
     * 配置信息db-type
     */
    @ApiModelProperty(value="配置信息db-type")
    private String dbType;
    /**
     * 配置信息driverClassName
     */
    @ApiModelProperty(value="配置信息driverClassName")
    private String driverclassname;
    /**
     * 配置信息url
     */
    @ApiModelProperty(value="配置信息url")
    private String url;
    /**
     * 配置信息username
     */
    @ApiModelProperty(value="配置信息username")
    private String username;
    /**
     * 配置信息password
     */
    @ApiModelProperty(value="配置信息password")
    private String password;
    /**
     * 禁用字段disabled
     */
    @ApiModelProperty(value="禁用字段")
    private String disabled;
    //集群名称
    @TableField(exist = false)
    private String clusterName;
    //区分标识
    @ApiModelProperty(value="区分标识")
    private String mark;
    //备注
    @ApiModelProperty(value="备注")
    private String comments;
    /**
     * 数据库类型
     */
    @ApiModelProperty(value="数据库类型database_type")
    private String databaseType;
    }
